FROM registry.docker-cn.com/library/tomcat:8-jre8-alpine
MAINTAINER Yu_Zhantao <yuzhantao@qq.com>
ARG JAR_FILE
RUN ["rm", "-rf", "/usr/local/tomcat/webapps/ROOT"]
ADD ${JAR_FILE} /usr/local/tomcat/webapps/
EXPOSE 8080
ENTRYPOINT ["catalina.sh", "run"]